<!DOCTYPE html>
<html lang="en">
<head>

    <!-- SEO案例列表 -->
    <title><if $category>{$category.seo_title}<else>{$category1.seo_title}</if></title>
    <meta name="keywords" content="<if $category>{$category.seo_keywords}<else>{$category1.seo_keywords}</if>" />
    <meta name="description" content="<if $category>{$category.seo_description}<else>{$category1.seo_description}</if>" />


    <include file="public@head"/>


</head>
<body class="product">
    <!-- header部分 -->


    <include file="public@header"/>

    {$category.name}

<php>
    $where= function($query){
        $query->where('post.create_time','egt',0);
    };
    $page=[
        'list_rows'=>20,
        'next'=>'下一页',
        'prev'=>'上一页'
    ];
</php>

<portal:case item="vo" where="$where" order="post.list_order,post.create_time DESC" page="$page" relation="categories" categoryId="$category.id" returnVarName="articles_data">

/caseDetail/{$vo.id}

{:cmf_get_image_preview_url($vo.more.thumbnail)}

{$vo.post_title}

</portal:case>

<page/>


    <!-- 案例中心 -->
    <div class="newsInformation">
       <div class="zr-mbx">
            <label>案例展示</label>
         <span>所在位置：<a href="/">首页</a> > 案例展示  <if $category.name> > {$category.name}</if></span>
        </div>
        <!-- 案例列表展示 -->
        <ul class="cases-list clearfix">
         

         <php>
            $where= function($query){
                $query->where('post.create_time','egt',0);
            };
            $page=[
                'list_rows'=>20,
                'next'=>'下一页',
                'prev'=>'上一页'
            ];
        </php>

    <portal:case item="vo" where="$where" order="post.list_order,post.create_time DESC" page="$page" relation="categories" categoryId="$category.id" returnVarName="articles_data">
    
                <li>
                    <a href="/caseDetail/{$vo.id}"><img src="{:cmf_get_image_preview_url($vo.more.thumbnail)}" alt=""></a>
                    <p>{$vo.post_title}</p>
                </li>

    </portal:case>
           
        </ul>
        <ul class="pagination" style="text-align: center">
                <page/>
            </ul>
        <!-- 合作企业 -->
        <div class="industry-title">
            <p class="news-english">COOPERATIVE</p>
            <p class="industry-line"></p>
            <p class="news-tex">合作企业</p>
        </div>
        <div class="coopertive-pic">
            <span><img src="__TMPL__/public/assets/images/coopertive.png" alt=""></span>
        </div>
    </div>









    <!-- fotter -->
    <include file="public@footer"/>
</body>
</html>		